﻿using OMG.Fill.Potato.Model.Ent;
using ProjectShare;
using System;
using System.Collections.Generic;

namespace OMG.Fill.Potato.Model
{
    /// <summary>
    /// 马铃薯销售、存储与加工情况统计表查询条件
    /// </summary>
    public class PotSaleStoregeQuery : SearchBase
    {
        //查询条件，请自行删除不需要条件
        /// <summary>
        /// 编号
        /// </summary>
        public string Id{ get;set;}
        /// <summary>
        /// 报表编号
        /// </summary>
        public string ReportId{ get;set;}
        /// <summary>
        /// 全年生产总量
        /// </summary>
        public decimal? ProductYield{ get;set;}
        /// <summary>
        /// 外销量
        /// </summary>
        public decimal? SaleYield{ get;set;}
        /// <summary>
        /// 比上年增减%（产量）
        /// </summary>
        public decimal? PecSaleYield{ get;set;}
        /// <summary>
        /// 自留总量
        /// </summary>
        public decimal? ZLyield{ get;set;}
        /// <summary>
        /// 鲜食
        /// </summary>
        public decimal? XSyield{ get;set;}
        /// <summary>
        /// 饲用
        /// </summary>
        public decimal? SYyield{ get;set;}
        /// <summary>
        /// 种薯
        /// </summary>
        public decimal? ZSyield{ get;set;}
        /// <summary>
        /// 全年生产总产值
        /// </summary>
        public decimal? ProductOutput{ get;set;}
        /// <summary>
        /// 外销产值
        /// </summary>
        public decimal? SaleOutput{ get;set;}
        /// <summary>
        /// 比上年增减%（产值）
        /// </summary>
        public decimal? PecSaleOutput{ get;set;}
        /// <summary>
        /// 销售区域
        /// </summary>
        public string SaleZone{ get;set;}
        /// <summary>
        /// 存储量
        /// </summary>
        public decimal? StorageNum{ get;set;}
        /// <summary>
        /// 存储方式
        /// </summary>
        public string StorageWay{ get;set;}
        /// <summary>
        /// 库存
        /// </summary>
        public decimal? Stock{ get;set;}
        /// <summary>
        /// 加工量（精淀粉）
        /// </summary>
        public decimal? DFyield{ get;set;}
        /// <summary>
        /// 产值（精淀粉）
        /// </summary>
        public decimal? DFoutput{ get;set;}
        /// <summary>
        /// 加工量（薯片）
        /// </summary>
        public decimal? SPyield{ get;set;}
        /// <summary>
        /// 产值（薯片）
        /// </summary>
        public decimal? SPoutput{ get;set;}
        /// <summary>
        /// 加工量（其他）
        /// </summary>
        public decimal? OPyield { get; set; }
        /// <summary>
        /// 产值（其他）
        /// </summary>
        public decimal? OPoutput { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark{ get;set;}
    }
    public class SaleStoregeFillInModel
    {
        public PotSaleStoregeEntity DataModel { get; set; }
        public PotSaleStoregeEntity OldDataModel { get; set; }
        public string ReportStatus { get; set; }
        public string ReportId { get; set; }
        public string Opinion { get; set; }
    }
    public class SaleStoregeStatisModel
    {
        public string FillInYear { get; set; }
        public string AreaName { get; set; }
        public string AreaCode { get; set; }

        /// <summary>
        /// 全年生产总量
        /// </summary>
        public decimal? ProductYield { get; set; }
        /// <summary>
        /// 外销量
        /// </summary>
        public decimal? SaleYield { get; set; }
        /// <summary>
        /// 比上年增减%（产量）
        /// </summary>
        public decimal? PecSaleYield { get; set; }
        /// <summary>
        /// 自留总量
        /// </summary>
        public decimal? ZLyield { get; set; }
        /// <summary>
        /// 鲜食
        /// </summary>
        public decimal? XSyield { get; set; }
        /// <summary>
        /// 饲用
        /// </summary>
        public decimal? SYyield { get; set; }
        /// <summary>
        /// 种薯
        /// </summary>
        public decimal? ZSyield { get; set; }
        /// <summary>
        /// 全年生产总产值
        /// </summary>
        public decimal? ProductOutput { get; set; }
        /// <summary>
        /// 外销产值
        /// </summary>
        public decimal? SaleOutput { get; set; }
        /// <summary>
        /// 比上年增减%（产值）
        /// </summary>
        public decimal? PecSaleOutput { get; set; }
        /// <summary>
        /// 销售区域
        /// </summary>
        public string SaleZone { get; set; }
        /// <summary>
        /// 存储量
        /// </summary>
        public decimal? StorageNum { get; set; }
        /// <summary>
        /// 库存
        /// </summary>
        public decimal? Stock { get; set; }
        /// <summary>
        /// 加工量（精淀粉）
        /// </summary>
        public decimal? DFyield { get; set; }
        /// <summary>
        /// 产值（精淀粉）
        /// </summary>
        public decimal? DFoutput { get; set; }
        /// <summary>
        /// 加工量（薯片）
        /// </summary>
        public decimal? SPyield { get; set; }
        /// <summary>
        /// 产值（薯片）
        /// </summary>
        public decimal? SPoutput { get; set; }
        /// <summary>
        /// 加工量（其他）
        /// </summary>
        public decimal? OPyield { get; set; }
        /// <summary>
        /// 产值（其他）
        /// </summary>
        public decimal? OPoutput { get; set; }
        public int tag { get; set; }
    }
}
